import request from '@/utils/request'

// 查询工作总结列表
export function listOaWorkSummaryApply(query) {
  return request({
    url: '/module/oaWorkSummaryApply/list',
    method: 'get',
    params: query
  })
}

// 查询工作总结详细
export function getOaWorkSummaryApply(id) {
  return request({
    url: '/module/oaWorkSummaryApply/' + id,
    method: 'get'
  })
}

// 新增工作总结
export function addOaWorkSummaryApply(data) {
  return request({
    url: '/module/oaWorkSummaryApply',
    method: 'post',
    data: data
  })
}

// 修改工作总结
export function updateOaWorkSummaryApply(data) {
  return request({
    url: '/module/oaWorkSummaryApply',
    method: 'put',
    data: data
  })
}

// 删除工作总结
export function delOaWorkSummaryApply(id) {
  return request({
    url: '/module/oaWorkSummaryApply/' + id,
    method: 'delete'
  })
}
